@keyframes scale1 {
    0% {
        transform: scale(0) translateZ(-200px);
    }
    100% {
        transform: scale(1) translateZ(0);
    }
}
@keyframes scale0 {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(0) translateZ(-200px);
    }
}

.hide {
    display: none !important;
}

.login02 {
    position: relative;
    width: 100%;
    min-width: 1200px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0c559a;
    overflow: hidden;

    .login_bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("@images/loginBg/login-bg01.webp") no-repeat center
            center;
        background-position-x: -650px;
    }

    input[type="text"],
    input[type="password"],
    .login_btn,
    .receive_vCode,
    .register_btn,
    .select_sex {
        width: 180px;
        height: 30px;
        margin: auto;
        margin-top: 10px;
        background-color: transparent;
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2),
            0 0 2px rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        color: #d9d2d2;
    }

    input[type="text"],
    input[type="password"] {
        box-sizing: border-box;
        padding-left: 10px;
        font-size: 12px;
        letter-spacing: 2px;
    }
    input:-internal-autofill-previewed,
    input:-internal-autofill-selected {
        -webkit-text-fill-color: #d9d2d2 !important;
        transition: background-color 5000s ease-in-out 0s !important;
    }

    .login_btn,
    .register_btn {
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;

        &:hover {
            color: #fff;
        }
    }

    .login_bounced {
        position: relative;
        width: 310px;
        border-radius: 14px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2),
            0 0 4px rgba(255, 255, 255, 0.2);
        color: #fff;
        box-sizing: border-box;
        padding-top: 10px;
        text-align: center;
        overflow: hidden;
        animation: scale1 0.5s linear;

        &.hideLogin {
            transform: scale(0) translateZ(-200px);
            width: 0;
            transition: transform 0.5s linear, width 0.01s linear 0.5s;
        }

        &.showLogin {
            transform: scale(1) translateZ(0);
            width: 310px;
            transition: transform 0.5s linear 0.5s, width 0.01s linear 0.5s;
        }

        .login_methods {
            width: 180px;
            margin: auto;
            display: flex;
            justify-content: space-between;
            font-size: 16px;

            span {
                cursor: pointer;

                &.active {
                    color: #fff;
                }
            }
        }

        .login_main {
            position: relative;
            width: 200%;
            margin-left: 0;
            display: flex;

            &.showLeft {
                margin-left: 0;
                transition: margin-left 0.3s linear;
            }

            &.showRig {
                margin-left: -100%;
                transition: margin-left 0.3s linear;
            }

            .cont {
                width: 50%;

                &.cont1 {
                    position: relative;

                    .psw_l_eye {
                        position: absolute;
                        z-index: 2;
                        top: 54px;
                        right: 70px;
                        font-size: 16px;
                        cursor: pointer;
                    }
                }

                &.cont2 {
                    .vertify_phone {
                        width: 180px;
                        margin: auto;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        input.vertifyPhone {
                            width: 80px;
                            margin-left: 0;
                            padding-left: 7px;
                        }

                        .receive_vCode {
                            width: 85px;
                            cursor: pointer;
                            margin-right: 0;
                        }
                    }
                }
            }
        }

        .save_psd {
            width: 180px;
            height: 30px;
            margin: auto;
            box-sizing: border-box;
            padding-left: 5px;
            display: flex;
            align-items: center;
            gap: 5px;

            .forget_psd {
                margin-left: 20px;
                cursor: pointer;

                &:hover {
                    color: #fff;
                }
            }
        }

        span {
            color: #999;

            /*选择记住密码后，字体颜色变亮*/
            &.active {
                color: #fff;
            }
        }

        .to_register {
            width: 180px;
            margin: auto;
            margin-top: 8px;
            display: flex;
            justify-content: space-between;
            box-sizing: border-box;
            padding: 0 5px;
            font-size: 12px;

            span {
                cursor: pointer;

                &:hover {
                    color: #fff;
                }
            }
        }

        .login_by_other {
            width: 180px;
            margin: 20px auto;
            color: #999;

            .other_imgs {
                display: flex;
                justify-content: space-between;
                width: 100%;
                margin: auto;
                margin-top: 10px;

                img,
                svg {
                    width: 43px;
                    height: 43px;
                    cursor: pointer;
                }
            }
        }
    }

    .register_bounced {
        position: relative;
        /* width: 310px; */
        width: 0;
        border-radius: 14px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2),
            0 0 4px rgba(255, 255, 255, 0.2);
        color: #fff;
        box-sizing: border-box;
        padding-top: 10px;
        text-align: center;
        overflow: hidden;
        transform: scale(0) translateZ(-200px);

        &.showRegister {
            transform: scale(1) translateZ(0);
            width: 310px;
            transition: transform 0.5s linear 0.5s, width 0.01s linear 0.5s;
        }

        &.hideRegister {
            transform: scale(0) translateZ(-200px);
            width: 0;
            transition: transform 0.5s linear, width 0.01s linear 0.5s;
        }

        @keyframes blings {
            0% {
                color: transparent;
            }
            100% {
                color: aliceblue;
                text-shadow: 0 0 4px skyblue, 0 0 8px skyblue, 0 0 12px skyblue,
                    0 0 16px skyblue, 0 0 20px skyblue, 0 0 24px skyblue;
            }
        }

        .title {
            font-family: "Courier New", Courier, monospace;
            font-size: 24px;

            span {
                animation: blings 4.2s linear infinite;

                &.title_text1 {
                    animation-delay: 0s;
                }
                &.title_text2 {
                    animation-delay: 0.4s;
                }
                &.title_text3 {
                    animation-delay: 0.8s;
                }
                &.title_text4 {
                    animation-delay: 1.2s;
                }
                &.title_text5 {
                    animation-delay: 1.6s;
                }
                &.title_text6 {
                    animation-delay: 2s;
                }
                &.title_text7 {
                    animation-delay: 2.4s;
                }
                &.title_text8 {
                    animation-delay: 2.8s;
                }
                &.title_text9 {
                    animation-delay: 3.2s;
                }
                &.title_text10 {
                    animation-delay: 3.6s;
                }
                &.title_text11 {
                    animation-delay: 4s;
                }
            }
        }

        .select_sex {
            position: relative;
            box-sizing: border-box;
            padding-left: 10px;
            line-height: 30px;
            text-align: left;
            font-size: 13px;

            .select_icon {
                position: absolute;
                z-index: 1;
                top: 8px;
                right: 10px;
                width: 6px;
                height: 6px;
                border-bottom: 2px solid #999;
                border-right: 2px solid #999;
                transform: rotateZ(45deg);
                transition: transform 0.2s linear;

                &:hover {
                    border-color: #fff;
                    transform: rotateZ(-135deg);
                    transition: transform 0.2s linear;
                    cursor: pointer;
                }
            }

            .sex_ul {
                position: absolute;
                z-index: 1;
                top: 30px;
                left: 0;
                width: 100%;
                box-sizing: border-box;
                padding-left: 10px;

                &::before {
                    /*毛玻璃效果*/
                    content: "";
                    position: absolute;
                    z-index: -1;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.5);
                    filter: blur(2px);
                    -webkit-filter: blur(2px);
                }

                li {
                    margin: 5px 0;
                    color: #d6d5d5;
                    font-size: 12px;
                    cursor: pointer;
                    transition: font-size 0.2s linear;

                    &:hover {
                        color: #fff;
                        font-size: 14px;
                        transition: font-size 0.2s linear;
                    }
                }
            }
        }

        /* .select_tip {
      width: 180px;
      margin: auto;
      margin-top: 10px;
      text-align: left;
      font-size: 12px;
      color: #999;
    } */
        .head_select {
            width: 180px;
            margin: auto;
            margin-top: 10px;
            height: 38px;
            display: flex;
            justify-content: space-around;
            align-items: center;

            img {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                overflow: hidden;
                border: 2px solid rgba(255, 255, 255, 0.2);
            }

            .to_select {
                width: 90px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                border: 2px solid rgba(255, 255, 255, 0.2);
                border-radius: 4px;
                user-select: none;
                -webkit-user-select: none;
                color: #999;
                font-size: 13px;
                cursor: pointer;

                &:hover {
                    color: #fff;
                }
            }
        }

        .to_login {
            width: 180px;
            margin: 10px auto 20px;
            cursor: pointer;
            color: #999;
            font-size: 12px;
            text-align: left;
            box-sizing: border-box;
            padding-left: 5px;

            &:hover {
                color: #fff;
            }
        }

        .psw_eye {
            position: absolute;
            z-index: 2;
            top: 91px;
            right: 70px;
            font-size: 16px;
            cursor: pointer;
        }
    }

    .bounced_wrap {
        position: fixed;
        z-index: 12;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;

        .bounced {
            position: relative;
            width: 800px;
            height: 532px;
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            display: flex;
            justify-content: space-evenly;
            align-items: center;

            .bounced_main {
                position: relative;
                width: 688px;
                height: 500px;
                overflow: hidden;

                .head_ul {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px;

                    .head_li {
                        width: 122px;
                        height: 122px;
                        border: 2px solid #fff;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        cursor: pointer;
                        user-select: none;
                        -webkit-user-select: none;

                        &.active {
                            border-color: gold;
                        }

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
            }

            .confirm_select {
                width: 42px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                border: 2px solid rgba(255, 255, 255, 0.2);
                border-radius: 4px;
                color: #999;
                cursor: pointer;
                user-select: none;
                -webkit-user-select: none;
            }
        }
    }
}
